/*     */ package com.iris.egrant.webapp.app.struts2.grantsetting;
/*     */
/*     */ import com.iris.egrant.app.service.grantsetting.AppGrantSettingService;
import com.iris.egrant.remote.http.service.ServiceFactory;
import com.iris.egrant.web.struts2.Struts2Utils;
/*     */ import java.util.List;
/*     */ import java.util.Map;
/*     */ import org.dom4j.DocumentException;

import javax.annotation.Resource;

/*     */
/*     */
/*     */
/*     */
/*     */ public class AppGrantSettingAction
/*     */ {
                @Resource(name = "serviceFactory")
    /*     */ private ServiceFactory serviceFactory;

/*     */   public String getGrantSetting() throws DocumentException {

/*  40 */     Struts2Utils.getRequest().setAttribute("count",1);
/*  41 */     Struts2Utils.getRequest().setAttribute("role", 27);
/*  42 */     List<Map<String, Object>> grantList = null;
/*     */
/*  63 */     grantList = ((AppGrantSettingService)this.serviceFactory.getService(AppGrantSettingService.class)).getGrantList(1);
/*  64 */     Struts2Utils.getRequest().setAttribute("grantList", grantList);
/*     */
/*  66 */     return "list";
/*     */   }
/*     */
/*     */ }


/* Location:              D:\文件\123\WEB-INF\classes\!\com\iris\egrant\webapp\app\struts2\grantsetting\AppGrantSettingAction.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */